package com.ruoyi.task.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 特殊情况发生管理对象 task_special
 *
 * @author ruoyi
 * @date 2023-08-03
 */
public class TaskSpecial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long specialId;

    /** 发生经度 */
    @Excel(name = "发生经度")
    private BigDecimal specialLng;

    /** 发生纬度 */
    @Excel(name = "发生纬度")
    private BigDecimal specialLat;

    /** 处理人名字 */
    @Excel(name = "处理人名字")
    private String specialPerson;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private String specialState;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date specialHappenTime;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date specialDoTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date specialOverTime;

    /** 花费时间 */
    @Excel(name = "花费时间")
    private Long specialCost;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private Long specialResult;

    public void setSpecialId(Long specialId)
    {
        this.specialId = specialId;
    }

    public Long getSpecialId()
    {
        return specialId;
    }
    public void setSpecialLng(BigDecimal specialLng)
    {
        this.specialLng = specialLng;
    }

    public BigDecimal getSpecialLng()
    {
        return specialLng;
    }
    public void setSpecialLat(BigDecimal specialLat)
    {
        this.specialLat = specialLat;
    }

    public BigDecimal getSpecialLat()
    {
        return specialLat;
    }
    public void setSpecialPerson(String specialPerson)
    {
        this.specialPerson = specialPerson;
    }

    public String getSpecialPerson()
    {
        return specialPerson;
    }
    public void setSpecialState(String specialState)
    {
        this.specialState = specialState;
    }

    public String getSpecialState()
    {
        return specialState;
    }
    public void setSpecialHappenTime(Date specialHappenTime)
    {
        this.specialHappenTime = specialHappenTime;
    }

    public Date getSpecialHappenTime()
    {
        return specialHappenTime;
    }
    public void setSpecialDoTime(Date specialDoTime)
    {
        this.specialDoTime = specialDoTime;
    }

    public Date getSpecialDoTime()
    {
        return specialDoTime;
    }
    public void setSpecialOverTime(Date specialOverTime)
    {
        this.specialOverTime = specialOverTime;
    }

    public Date getSpecialOverTime()
    {
        return specialOverTime;
    }
    public void setSpecialCost(Long specialCost)
    {
        this.specialCost = specialCost;
    }

    public Long getSpecialCost()
    {
        return specialCost;
    }
    public void setSpecialResult(Long specialResult)
    {
        this.specialResult = specialResult;
    }

    public Long getSpecialResult()
    {
        return specialResult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("specialId", getSpecialId())
                .append("specialLng", getSpecialLng())
                .append("specialLat", getSpecialLat())
                .append("specialPerson", getSpecialPerson())
                .append("specialState", getSpecialState())
                .append("specialHappenTime", getSpecialHappenTime())
                .append("specialDoTime", getSpecialDoTime())
                .append("specialOverTime", getSpecialOverTime())
                .append("specialCost", getSpecialCost())
                .append("specialResult", getSpecialResult())
                .toString();
    }
}
